package com.zhao.pojo;

import com.zhao.annotation.DataMapping;
import com.zhao.annotation.DataValue;
import com.zhao.pojo.message.Project;
import com.zhao.pojo.message.ProjectDependenciesDependency;
import lombok.Data;
import lombok.ToString;

import java.math.BigDecimal;

/**
 * @Author:zhao
 * @Date: 2018/8/3 16:45
 * @Description:
 */
@Data
@ToString
@DataMapping(source = ProjectDependenciesDependency.class)
public class Dependency {

    @DataValue(value = "projectGroupId", source = Project.class)
    private String genGrouId;

    @DataValue(value = "projectArtifactId", source = Project.class)
    private String genArtifactId;

    @DataValue("projectDependenciesDependencyGroupId")
    private String groupId;

    @DataValue("projectDependenciesDependencyArtifactId")
    private String artifactId;

    @DataValue(value = "projectDependenciesDependencyVersion",constant = "00")
    private String version;

}
